//
//  MediaInfoModel.h
//  MediaInfoGUI
//
//  Created by Olivier Larivain on 2/6/10.
//  Copyright 2010 __MyCompanyName__. All rights reserved.
//

#import <Cocoa/Cocoa.h>

@class DocumentInfo;
@interface MediaInfoModel : NSObject 
{
  NSMutableArray *documentInfos;
  
  NSAttributedString *html;
  NSString *text;
  NSAttributedString *general;
  NSAttributedString *generalMetaData;
  NSAttributedString *video;
  NSAttributedString *audio1;
  NSAttributedString *audio2;
  NSAttributedString *text1;
  NSAttributedString *text2;
  NSAttributedString *text3;
}

@property (readonly) NSMutableArray *documentInfos;

@property (readwrite, retain) NSAttributedString *html;
@property (readwrite, retain) NSString *text;
@property (readwrite, retain) NSAttributedString *general;
@property (readwrite, retain) NSAttributedString *generalMetaData;
@property (readwrite, retain) NSAttributedString *video;
@property (readwrite, retain) NSAttributedString *audio1;
@property (readwrite, retain) NSAttributedString *audio2;
@property (readwrite, retain) NSAttributedString *text1;
@property (readwrite, retain) NSAttributedString *text2;
@property (readwrite, retain) NSAttributedString *text3;

- (void) clear;
- (void) addDocument: (DocumentInfo *) info;
- (int) documentCount;

@end
